package com.xique.park.bean.request.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 计算月卡车应收金额
 */
@Data
public class ParkCarCalFixedFeeRequest {
    /**起始日期*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;
    /**截至日期*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    /**车辆管理类型id*/
    @NotNull
    private Long mngTypeId;

    private String cycle;

    private Integer cycleNum;

    @NotNull(message = "车位数不能为空")
    private Integer spaceNum;
}
